package com.linkcard.list.manager;

import java.util.List;

import com.linkcard.commen.tools.Page;
import com.linkcard.list.model.Category;

public interface CategoryManager {

	//添加类别
	public boolean addCategory(Category category);

	//获得类别列表
	public List categoryList(Integer columnId,int pid);

	//修改类别
	public boolean modifyCategory(Category category);

	//删除类别
	public boolean deleteCategory(Category category);

	//查找类别
	public Category findCategory(Integer subCategoryId);
	
	//按条件获得的分类列表
	public List  categoryListBySelect(int columnId,int pid);
}
